package nbp.currency.logic;

import java.util.Date;

import nbp.currency.data.HolidayDAOImpl;

public class HolidayService {

	private HolidayDAOImpl daoImpl;

	public HolidayService() {
		daoImpl = new HolidayDAOImpl();
	}
	
	public Date getLastWorkingDateBefore(Date date){
		Date workingDay = daoImpl.getLastWorkingDateBefore(date);
		return workingDay;
	}
}
